Refine when we skip running all tests#1434
Merged
eddelbuettel merged 2 commits intomasterfrom Dec 31, 2025
Merged
Conversation
Enchufa2
reviewed
Dec 31, 2025
Enchufa2
approved these changes
Dec 31, 2025
Member
Enchufa2
left a comment
There was a problem hiding this comment.
Small comment. Otherwise, LGTM!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1433
This PR adds an additional check to the testrunner. The key question is whether to run 'all tests' (actully 'all' and 'verbose') or just a subset. We prefer released version to only run a subset (as e.g. total test runtime is monitored). So far we made the decision based on release versions such as '1.1.0' (having three components) version development snapshot such as 1.1.0.13' (have four, or more). We have been operating in a way where only the latter gets all tests.
So here we propose to addtionally check for an environment variable that may be a 'tell' for a situation where we rather not run tests, so we now consider this too.
Checklist
R CMD checkstill passes all tests